#include <memory.h>				/* for memset */
#include "tp2.h"

/* Default timeout can be changed using clnt_control() */
static struct timeval TIMEOUT = { 25, 0 };

enum clnt_stat query_1(char **argp, char **clnt_res, CLIENT * clnt) {
	return (clnt_call
			(clnt, QUERY, (xdrproc_t) xdr_wrapstring, (caddr_t) argp, (xdrproc_t) xdr_wrapstring,
			 (caddr_t) clnt_res, TIMEOUT));
}
